package com.zy.cat.entity.dtk;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("大淘客商品实体类")
public class GoodsList implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "商品ID", example = "10010")
	private String goodsId;

	@JsonIgnore
	@ApiModelProperty(value = "大淘客商品ID", example = "10010")
	private long id;

	@ApiModelProperty(value = "淘宝标题", example = "西维里男士睡衣夏季韩版真丝短")
	private String title;

	@ApiModelProperty(value = "大淘客短标题", example = "夏季睡衣男冰丝短袖丝绸家居服套装")
	private String dtitle;

	@ApiModelProperty(value = "商品原价", example = "23.9")
	private double originalPrice;

	@ApiModelProperty(value = "券后价", example = "13.9")
	private double actualPrice;

	@ApiModelProperty(value = "店铺类型，1-天猫，0-淘宝", example = "0")
	private long shopType;

	@JsonIgnore
	@ApiModelProperty(value = "是否金牌卖家，1-金牌卖家，0-非金牌卖家", example = "0")
	private long goldSellers;

	@ApiModelProperty(value = "30天销量", example = "10")
	private long monthSales;

	@ApiModelProperty(value = "2小时销量", example = "10")
	private long twoHoursSales;

	@ApiModelProperty(value = "当日销量", example = "10")
	private long dailySales;

	@JsonIgnore
	@ApiModelProperty(value = "佣金类型，0-通用，1-定向，2-高佣，3-营销计划", example = "0")
	private long commissionType;

	@ApiModelProperty(value = "商品推广文案", example = "宽松舒适，难以磨损典，雅而优美，倍感丝滑，质感优越，庄严而心仪，简约设计，色调清新脱俗，适合各种场合")
	private String desc;

	@JsonIgnore
	@ApiModelProperty(value = "领券量", example = "10")
	private long couponReceiveNum;

	@JsonIgnore
	@ApiModelProperty(value = "券总量", example = "10")
	private long couponTotalNum;

	@ApiModelProperty(value = "优惠券链接", example = "https://uland.")
	private String couponLink;

	@JsonIgnore
	@ApiModelProperty(value = "优惠券结束时间", example = "2019-09-11 11:11:11")
	private String couponEndTime;

	@JsonIgnore
	@ApiModelProperty(value = "优惠券开始时间", example = "2019-09-13 11:11:11")
	private String couponStartTime;

	@ApiModelProperty(value = "优惠券金额", example = "10")
	private double couponPrice;

	@ApiModelProperty(value = "优惠券使用条件", example = "38")
	private String couponConditions;

	@JsonIgnore
	@ApiModelProperty(value = "活动类型，1-无活动，2-淘抢购，3-聚划算", example = "0")
	private long activityType;

	@JsonIgnore
	@ApiModelProperty(value = "商品上架时间", example = "2019-09-13 11:11:11")
	private String createTime;

	@ApiModelProperty(value = "商品主图链接", example = "https://uland.")
	private String mainPic;

	@ApiModelProperty(value = "营销主图链接", example = "https://uland.")
	private String marketingMainPic;

	@JsonIgnore
	@ApiModelProperty(value = "淘宝卖家id", example = "158924983")
	private String sellerId;

	@JsonIgnore
	@ApiModelProperty(value = "商品在大淘客的分类id", example = "1")
	private String cid;

	@ApiModelProperty(value = "折扣力度", example = "0.75")
	private double discounts;

	@JsonIgnore
	@ApiModelProperty(value = "佣金比例", example = "30")
	private double commissionRate;

	@JsonIgnore
	@ApiModelProperty(value = "是否海淘，1-海淘商品，0-非海淘商品", example = "30")
	private long haitao;

	@JsonIgnore
	@ApiModelProperty(value = "活动开始时间", example = "2019-09-13 11:11:11")
	private String activityStartTime;

	@JsonIgnore
	@ApiModelProperty(value = "活动结束时间", example = "2019-09-13 11:11:11")
	private String activityEndTime;

	@ApiModelProperty(value = "店铺名称", example = "西维里旗舰店")
	private String shopName;

	@ApiModelProperty(value = "淘宝店铺等级", example = "30")
	private long shopLevel;

	@ApiModelProperty(value = "描述分", example = "4.8")
	private double descScore;

	@ApiModelProperty(value = "描述相符", example = "4.8")
	private double dsrScore;

	@ApiModelProperty(value = "服务态度", example = "4.8")
	private double shipScore;

	@ApiModelProperty(value = "物流服务", example = "4.8")
	private double serviceScore;

	@ApiModelProperty(value = "是否是品牌商品", example = "0")
	private long brand;

	@ApiModelProperty(value = "品牌id", example = "2301323020")
	private String brandId;

	@ApiModelProperty(value = "品牌名称", example = "西维里")
	private String brandName;

	@ApiModelProperty(value = "热推值", example = "10")
	private long hotPush;

	@JsonIgnore
	@ApiModelProperty(value = "放单人名称", example = "阿甘团队")
	private String teamName;

	@JsonIgnore
	@ApiModelProperty(value = "商品淘宝链接", example = "https://detail.")
	private String itemLink;

	@JsonIgnore
	@ApiModelProperty(value = "是否天猫超市商品，1-天猫超市商品，0-非天猫超市商品", example = "0")
	private long tchaoshi;

	@ApiModelProperty(value = "商品详情图", example = "https://detail.")
	private String detailPics;

	@ApiModelProperty(value = "描述同行比", example = "4.8")
	private double dsrPercent;

	@ApiModelProperty(value = "服务态度同行比", example = "4.8")
	private double shipPercent;

	@ApiModelProperty(value = "物流同行比", example = "4.8")
	private double servicePercent;

	@JsonIgnore
	@ApiModelProperty(value = "商品在大淘客的二级分类id，该分类为前端分类，一个商品可能有多个二级分类id", example = "1687,5787")
	private String subcids;

	@ApiModelProperty(value = "商品在淘宝的分类id", example = "1687")
	private String tbcid;

	@JsonIgnore
	@ApiModelProperty(value = "插入时间", example = "2019-09-13 11:11:11")
	private String itime;

	@JsonIgnore
	@ApiModelProperty(value = "最后更新时间", example = "2019-09-13 11:11:11")
	private String ltime;

	@ApiModelProperty(value = "返利信息", example = "0")
	private long fcode;

	@JsonIgnore
	@ApiModelProperty(value = "不同账号的佣金比例，小数", example = "0.53")
	private double rate;

	@JsonIgnore
	@ApiModelProperty(value = "排序方式(0.人气、1.最新、2.销量、3.价格（低到高）、4.价格（高到低）)", example = "0")
	private int otype;

	/**
	 * API查询专用
	 * 
	 * @param cid
	 * @param subcids
	 * @param utype
	 * @param otype
	 */
	public GoodsList(String cid, String subcids, double rate, int otype) {
		super();
		this.cid = cid;
		this.subcids = subcids;
		this.rate = rate;
		this.otype = otype;
	}

}
